package edu.tamu.cse.teamproject1.Database.Persistence;

/**	
 * Used to debug the program. If the debug mode is activated, debug
 * messages will be printed. If it is not activated, the program will
 * not print out the debug messages. Debug instances are scattered 
 * throughout the XMLParser
 * 
 * @author Ryan McAuley
 * @since Release 0.1.0
*/
public class GlobalDataStore{
	
	public static int debugMode = 0;
	
	/**
	 * Constructor
	 */
	public GlobalDataStore(){}
	
	/**
	 * Activates the debug mode for debugging purposes
	 */
	void activateDebugMode(){
		debugMode = 1;
	}
	
	/**
	 * Turns off the debug mode for debugging purposes
	 */
	void deactivateDebugMode(){
		debugMode = 0;
	}
	
	/**
	 * Returns the current status of the debugMode
	 * @return debugMode
	 */
	int getDebugStatus(){
		return debugMode;
	}
}